package com.draw.webinterface;

import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebService;

import com.draw.core.Word;

@WebService(targetNamespace="http://draw.some.com/", serviceName="WordService", name="WordService")
public interface WordInterface {
	@WebMethod()
	public Word getRandomByLevel(Integer level);
	@WebMethod()
	public List<Word> getAll();
	@WebMethod()
	public Word addWord(Word word);
}
